Text

 

 

 

Property

Type

Required

Comment

text

string

yes

see below *

posX

number

yes

Position of text inside signature.

posY

number

yes

Position of text inside signature.

fontFace

string

no

Current drawing font to the specified face-name (local computer font names could be used).

fontSize

number

no

height in 1/10 milimeters, the actual height of the font is the closest match made by the font mapper to the desired height.

fontFlags

array of [FontFlags]

no

The type flags can be combined in order to achieve the desired appearance. See below**.

 

 

*Displays the text specified in the string parameter using currently selected font at the current rendering coordinates. The table below shows the special text substitution for the tex:

 String Value

Description

$Subject

Certificate subject (CN RDN)

$Issuer

Certificate issuer (O or OU RDN)

$Serial

Certificate serial number (hex displayed)

$ExpDate

Certificate expiry date in the format:

dd.nn.yyyy

where:

dd – day

nn – month

yyyy – year

$Time

Signing time in the format:

hh:mm, dd.nn.yyyy

where:

hh - hours

mm – minutes

dd – day

nn – month

yyyy – year

$$

Outputs one $ character

 

**Font flags:

Name

Description

RegularFont

Regular straight font

BoldFont

Bold font

ItalicFont

Italic font

UnderlineFont

Underlined font